using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;

namespace url2jpeg
{
    public partial class NewVersion : UserControl
    {
        public NewVersion()
        {
            InitializeComponent();
        }

        public void Navigate()
        {
            string email = userSettings.GetInstance().m_email;
            if (string.IsNullOrEmpty(email))
                webBrowser1.Navigate("http://www2.url2jpeg.com/lastversion.aspx");
            else
                webBrowser1.Navigate("http://www2.url2jpeg.com/lastversion.aspx?email="+email);
        }
    }
}
